package com.lemon.springboot.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

/**
 * @author lemon
 * @date 2018/1/4 下午9:24
 */
@SpringBootApplication
@EnableAutoConfiguration
@EntityScan(basePackages = {"com.huangtianci.entity"})
@MapperScan(basePackages = {"com.huangtianci.dao"})
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
